Add parser tests for min-width and min-height
authorMatthias Clasen <mclasen@redhat.com>
Tue, 22 Dec 2015 04:23:05 +0000 (23:23 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 23 Dec 2015 03:29:38 +0000 (22:29 -0500)
testsuite/css/parser/min-height.css [new file with mode: 0644]
testsuite/css/parser/min-height.ref.css [new file with mode: 0644]
testsuite/css/parser/min-width.css [new file with mode: 0644]
testsuite/css/parser/min-width.ref.css [new file with mode: 0644]

diff --git a/testsuite/css/parser/min-height.css b/testsuite/css/parser/min-height.css
new file mode 100644 (file)
index 0000000..66769fe
--- /dev/null
@@ -0,0 +1,19 @@
+a {
+  min-height: initial;
+}
+
+b {
+  min-height: inherit;
+}
+
+c {
+  min-height: unset;
+}
+
+d {
+  min-height: 0px;
+}
+
+e {
+  min-height: 2em;
+}
diff --git a/testsuite/css/parser/min-height.ref.css b/testsuite/css/parser/min-height.ref.css
new file mode 100644 (file)
index 0000000..13657ed
--- /dev/null
@@ -0,0 +1,19 @@
+a {
+  min-height: initial;
+}
+
+b {
+  min-height: inherit;
+}
+
+c {
+  min-height: unset;
+}
+
+d {
+  min-height: 0;
+}
+
+e {
+  min-height: 2em;
+}
diff --git a/testsuite/css/parser/min-width.css b/testsuite/css/parser/min-width.css
new file mode 100644 (file)
index 0000000..9f262ab
--- /dev/null
@@ -0,0 +1,19 @@
+a {
+  min-width: initial;
+}
+
+b {
+  min-width: inherit;
+}
+
+c {
+  min-width: unset;
+}
+
+d {
+  min-width: 0px;
+}
+
+e {
+  min-width: 2em;
+}
diff --git a/testsuite/css/parser/min-width.ref.css b/testsuite/css/parser/min-width.ref.css
new file mode 100644 (file)
index 0000000..62bec56
--- /dev/null
@@ -0,0 +1,19 @@
+a {
+  min-width: initial;
+}
+
+b {
+  min-width: inherit;
+}
+
+c {
+  min-width: unset;
+}
+
+d {
+  min-width: 0;
+}
+
+e {
+  min-width: 2em;
+}